package com.patzn.osgi.blueprint.hello;

import java.util.List;
import java.util.Map;

/**
 * @name: Order
 * @description: Order
 * @author: jiangcs
 */
public class Order {
    private String id;
    private List<Product> productList;
    private Map<String, Object> infoMap;

    public void init() {
        System.out.println(this);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }

    public Map<String, Object> getInfoMap() {
        return infoMap;
    }

    public void setInfoMap(Map<String, Object> infoMap) {
        this.infoMap = infoMap;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id='" + id + '\'' +
                ", productList=" + productList +
                ", infoMap=" + infoMap +
                '}';
    }
}
